<include file="Public:header" />
			<include file="Public:menu" />
			<div id="right">
				<div class="top"></div>
				<div class="app_right_banner">
					<?php 
						if($userInfo['id'] == $myId){
					 ?>
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">我的相册</p>
						<p class = "app_module_back"><a href="__APP__/user">返回我的空间</a></p>
					</div>
					<?php 
						}else{
					 ?>
					<div class="app_face">
						<img src="__PUBLIC__/Uploads/face/small/{$userInfo['faceimg']}"/>
					</div>
					<div class="app_userinfo">
						<p class="app_module">{$userInfo['username']}的相册</p>
						<p class = "app_module_back"><a href="__APP__/home/{$userInfo:id}">查看{$userInfo['username']}的空间</a></p>
					</div>
					<?php } ?>
				</div>
				<div class="app_right_menu">
					<?php 
						if($userInfo['id'] == $myId){
					 ?>
					<div class="arm_2">
						<a href="__URL__">好友的相册</a>
					</div>
					<div class="arm_1">
						我的相册				
					</div>
					<div class="arm_2">
						<a href="__URL__/createalbum">创建相册</a>					
					</div>
					<div class="arm_2">
						<a href="__URL__/uploadphoto">上传相片</a>					
					</div>
					<?php }else{ ?>
					
					<div class="arm_1">
						{$userInfo['username']}的相册				
					</div>
					<div class="arm_2">
						<a href="__APP__/photos/{$userInfo['id']}">我的相册</a>				
					</div>
					<?php } ?>
				</div>
				<div class="app_right_count">
					我{$page}
				</div>
				<div>
					<div class="photo_list">
						<ul>
							<volist name="albumList" id="album">
							<li>
								<div class="photo_img">
									<a href="__APP__/showalbum/{$album['id']}"><img src="__PUBLIC__/Uploads/photo/small/{$album['defaultphoto']}"/></a>
								</div>
								<div class="photo_desc">
								<p  class="strong text14"><a href="__APP__/showalbum/{$album['id']}">{$album['name']}</a>
								</p>
								<p>{$album['photonum']}张照片</p>
								<p>创建于 {$album['regtime']|toDate=###,"y-m-d"}</p>
								<p>修改于 {$album['modifytime']|toDate=###,"y-m-d"}</p>
								</div>
							</li>
							</volist>
						</ul>
					</div>
					<p></p>
				</div>
			</div>
<include file="Public:footer" />